package com.tmt.im.manager.controller.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.tags.Tag;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.io.Serial;
import java.io.Serializable;

/**
 * @Description TODO
 * @Author wuyi
 * @Date 2024/9/13 13:21
 * @Version 1.0
 **/
@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
@Tag(name = "异地登录验证请求对象", description = "异地登录验证请求对象")
public class OffsiteCheckRequest implements Serializable {

    @Serial
    private static final long serialVersionUID = -6318027749998566717L;

    @Schema(description = "短信验证码")
    @NotNull(message = "短信验证码不能为null")
    @NotBlank(message = "短信验证码不能为空串")
    private String smsCode;

    @Schema(description = "当前设备ID")
    @NotNull(message = "当前设备ID不能为null")
    @NotBlank(message = "当前设备ID不能为空串")
    private String deviceId;

    @Schema(description = "当前设备类型")
    @NotNull(message = "当前设备类型不能为null")
    @NotBlank(message = "当前设备类型不能为空串")
    private String deviceType;

}
